<div class="centercontent">
    <div class="pageheader">
        <h1 class="pagetitle">Create user</h1>         
    </div>     
    <?php if (isset($this->error)) { ?>
        <p style="color: red;"> - <?php echo $this->error; ?></p>
    <?php } ?>    
    <form class="stdform" action="" method="post">
    	<p>
            <label>User email</label>
            <span class="field"><input type="text" name="user_email" class="mediuminput" /></span>
        </p>
        <p>
            <label>User role</label>
            <span class="field">
                <select name="role_id" content="false"> 
                    <?php foreach ($this->roles as $role): ?>                     
                    	<option value="<?php echo $role['id']; ?>"><?php echo $role['role']; ?></option>
                	<?php endforeach; ?>
                </select>                            
            </span>
        </p>
        <p class="stdformbutton">
            <button class="submit radius2">Create</button>           
        </p>
    </form>
</div>